﻿using StudyTracker.Domain.Entities;

namespace StudyTracker.Web.Models.Authentication
{
	public class LoginMenuModel
	{
		public string Username { get; private set; }
		public bool IsLoggedIn { get; private set; }

		public LoginMenuModel(Student student)
		{
			if (student != null)
			{
				IsLoggedIn = true;
				Username = student.Email;
			}
		}
	}
}